<?php $baseUrl=$this->assetsUri();$ZGTITLE='模块管理';$ZGHEAD=<<<S
<link rel="stylesheet" type="text/css" href="{$baseUrl}/css/default.css">
<script type="text/javascript" src="{$baseUrl}/js/default.js"></script>
S;
$systemActive=$designerActive='';switch($_GET['module_type']){case'system':$systemActive=' itemActive';break;case'designer':$designerActive=' itemActive';break;}$listHtm=$disabledCls=$disabledTit='';if($_GET['module_type']=='system'||$_GET['module_type']=='designer'){$disabledCls=" disabled";$disabledTit=' title="不可删除"';}foreach($ZMODEL["moduleList"]as$item){$listHtm.=<<<S
<div class="item">
	<a class="itemTrig">
		<div class="thumbnail">
			<div class="imgCut"><img class="loadingBar" src="{$item['thumbnail']}" alt=""></div>
		</div>
		<p class="title">{$item['name']}</p>
	</a>
	<p class="author">作者：<a>{$item['autohrName']}</a></p>
	<div class="control invisible">
		<a$disabledTit class="editBtn$disabledCls" href="javascript:void(0);" target="_blank">删除</a>
	</div>
</div>
S;
}?> <div id="zmsun_sidebar"><div class="wrapper"><div class="sidebarTit"><h2>模块管理</h2></div><div class="sidebarBox" data-widget-zmsunscrollbar><div class="sidebarAccordion"><div class="accordionTit<?php echo$systemActive ?>"><h4><a href="?module_type=system"><span>基础模块</span></a></h4></div><div class="accordionTit<?php echo$designerActive ?>"><h4><a href="?module_type=designer"><span>设计师模块</span></a></h4></div></div></div></div><div class="switch"><p><i></i></p></div></div><div id="zmsun_main"><div id="zmsun_toolbar"></div><div id="zmsun_a_content"><div class="contentBox"><div class="pageList"><div class="clearBox"><?php print$listHtm;?></div></div></div></div></div>